const _import = require('./_import_' + process.env.NODE_ENV)
export const routerMap = [
  {
    path: '/',
    name: 'HomePage',
    redirect: '/markdown'
  },
  {
    path: '/markdown',
    name: 'Markdown',
    component: _import('Markdown')
  },
  {
    path: '/github',
    name: 'Github',
    component: _import('Github')
  },
  {
    path: '/wangge',
    name: 'Wangge',
    component: _import('Wangge')
  },
  {
    path: '/tree',
    name: 'Tree',
    component: _import('Tree')
  }, 
  {
    path: '/svg',
    name: 'SVG',
    component: _import('SVG')
  },
  {
    path: '/model',
    name: 'Model',
    component: _import('ModalTest')
  },
  {
    path: '/header',
    name: 'Header',
    component: _import('HeaderTest')
  },
  {
    path: '/iframe',
    name: 'Iframe',
    component: _import('Iframe')
  },
  {
    path: '/deepstreamhub',
    name: 'DeepstreamHub',
    component: _import('DeepStreamHub')
  },
  {
    path: '/firebase',
    name: 'Firebase',
    component: _import('Firebase')
  },
  {
    path: '/todomvc',
    name: 'TodoMVC',
    component: _import('TodoMVC')
  },
  {
    path: '/hackernews',
    name: 'HackerNews',
    component: _import('HackerNews')
  }
]
